package com.wzy.flowable.flow.service.impl;

import com.wzy.flowable.flow.entity.Student;
import com.wzy.flowable.flow.mapper.StudentServiceDao;
import com.wzy.flowable.flow.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: wzy
 * @Date: 2022/02/06/14:47
 * @Description:
 */
@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    StudentServiceDao studentServiceDao;
    @Override
    public void insert(Student student) {
        studentServiceDao.insert(student);
    }

    @Override
    public Student selectById(Integer id) {
        return studentServiceDao.selectById(id);
    }
}
